package com.taoym.voucher.job.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * @coder taoym
 * @datetime 2021/8/26 17:23
 * @desc
 */
@Data
@TableName(value = "xcx_activity_order")
public class XcxActivityOrder implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 活动ID
     */
    @TableField(value = "act_id")
    private Integer actId;

    /**
     * 活动名称
     */
    @TableField(value = "act_name")
    private String actName;

    /**
     * 用户uid
     */
    @TableField(value = "order_user_uid")
    private String orderUserUid;

    /**
     * 邀请人uid
     */
    @TableField(value = "chief_uid")
    private String chiefUid;

    /**
     * 总佣金率
     */
    @TableField(value = "all_rate")
    private String allRate;

    /**
     * 总佣金
     */
    @TableField(value = "all_fee")
    private String allFee;

    /**
     * 实际佣金率
     */
    @TableField(value = "real_rate")
    private String realRate;

    /**
     * 实际佣金
     */
    @TableField(value = "real_fee")
    private String realFee;

    /**
     * 下单人佣金率
     */
    @TableField(value = "order_user_rate")
    private String orderUserRate;

    /**
     * 下单人佣金
     */
    @TableField(value = "order_user_fee")
    private String orderUserFee;

    /**
     * 邀请人佣金率
     */
    @TableField(value = "chief_rate")
    private String chiefRate;

    /**
     * 邀请人佣金
     */
    @TableField(value = "chief_fee")
    private String chiefFee;

    /**
     * 订单编号
     */
    @TableField(value = "order_sn")
    private String orderSn;

    /**
     * 订单标题
     */
    @TableField(value = "order_title")
    private String orderTitle;

    /**
     * 订单创建时间
     */
    @TableField(value = "create_time")
    private LocalDateTime createTime;

    /**
     * 订单付款时间
     */
    @TableField(value = "pay_time")
    private LocalDateTime payTime;

    /**
     * 订单修改时间
     */
    @TableField(value = "modified_time")
    private LocalDateTime modifiedTime;

    /**
     * 订单价格
     */
    @TableField(value = "order_price")
    private String orderPrice;

    /**
     * 付款价格
     */
    @TableField(value = "pay_price")
    private String payPrice;

    /**
     * 订单状态
     */
    @TableField(value = "`status`")
    private Integer status;

    /**
     * 订单状态描述
     */
    @TableField(value = "status_desc")
    private String statusDesc;

    /**
     * 下单用户是否统计到账单 0.未统计 1.已统计
     */
    @TableField(value = "order_user_is_statistics")
    private Integer orderUserIsStatistics;

    /**
     * 邀请人用户是否统计到账单 0.未统计 1.已统计
     */
    @TableField(value = "chief_is_statistics")
    private Integer chiefIsStatistics;

    private static final long serialVersionUID = 1L;
}
